#include "ObserverGtk.h"
#include "ObservableGtk.h"

ObserverGtk::ObserverGtk()
{
	this->dispatcher.connect(sigc::mem_fun(*this, &ObserverGtk::update));
}

void ObserverGtk::setObservable(ObservableGtk* observable) {
	this->observable = observable;
}

Glib::Dispatcher& ObserverGtk::getDispatcher() {
	return dispatcher;
}

ObserverGtk::~ObserverGtk()
{
}
